package com.qingjiang.projectschedule.pojo;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

@Data
public class ProjectAllInformation {
    private String projectId;
    private String projectName;

    private String projectDepartment;

    private String projectManager;

    private String projectContent;

    private Integer deptId;

    private String[] node1;
    private String[] node2;
    private String[] node3;
    private String[] node4;
    private String[] node5;
    private String[] node6;
    private String[] node7;

    private String[] delayReason;

    private Map<Integer, String[]> nodeMap;

    public void setNodeMap() {
        nodeMap = new HashMap<>();
        nodeMap.put(1, node1);
        nodeMap.put(2, node2);
        nodeMap.put(3, node3);
        nodeMap.put(4, node4);
        nodeMap.put(5, node5);
        nodeMap.put(6, node6);
        nodeMap.put(7, node7);
    }
}
